package com.mcxx.modules.miniSalvation.order.event;

import com.mcxx.modules.miniSalvation.family.param.ExpireFamilyParam;
import com.mcxx.modules.miniSalvation.order.entity.OrderEntity;
import com.yinhai.ta404.core.security.vo.UserAccountVo;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

@Getter
public class SuspendManageEvent extends ApplicationEvent {

    private final List<OrderEntity> list;
    private final UserAccountVo userAccountVo;
    private final ExpireFamilyParam param;

    public SuspendManageEvent(Object source, List<OrderEntity> list, UserAccountVo userAccountVo, ExpireFamilyParam param) {
        super(source);
        this.list = list;
        this.userAccountVo = userAccountVo;
        this.param = param;
    }
}
